package com.sgcc.epri.dcloud.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;

@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("${dm.private-schema-name}.SG_CAL_RESULT")
public class CalResultAll {

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private String parentIdTree;

    private String datasource;

    private String parentIdTablehead;

    private String parentIdIndex;

    private String createTime;

    private String value;

    private String molecule;

    private String denominator;

    private String objectId;

    private String dataType;

    private String dateType;

    private String dayTime;

    @TableField(exist = false)
    private BigDecimal overallRatio;
}
